﻿// Bảo Ngọc
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Web.Services;

namespace ChiaSeThongTinWebService.Interface
{
    [ServiceContract]
    public interface IComment
    {
        [WebMethod]
        NComment[] GetComment(string ID_post);

        [WebMethod]
        bool AddComment(COMMENT Ncomment);

        [WebMethod]
        bool UpdateComment(COMMENT Ncomment);

        [WebMethod]
        bool DeleteComment(string ID);

        [WebMethod]
        decimal? NumberOfComment(string ID);

    }
}
